<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			p {color: yellow;}
			div p{color : green; }
			.demo p{color: black;}
			#demo p{color: orange;}
			div #demo p{color: gray;}
		</style>
	</head>	
	<body>
		<p >猜颜色 class="demo"</p>
	<div><p >猜颜色 class="demo"</p></div>
	<div class="demo">
		<p >猜颜色 class="demo"</p>
	</div>
	<div id="demo">
		<p  >猜颜色  id="demo"</p>
	</div>
	</body>
</html>

